<?php

namespace frontend\models;

use Yii;
use yii\db\ActiveRecord;
/**
 * This is the model class for table "{{%my_resume_library}}".
 *
 * @property integer $uid
 * @property string $serialnumber
 * @property string $thumbnail
 * @property string $created_at
 * @property string $updated_at
 */
class ResumeLibraryForm extends ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%my_resume_library}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [[ 'serialnumber', 'thumbnail'], 'required'],
            [['serialnumber'], 'string', 'max' => 10],
            [['thumbnail'], 'string', 'max' => 20]
        ];
    }
}
